package com.sch.study.logger;



import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * User: hui_stone
 * Date: 2016/4/14 0014
 * Time: 下午 13:53
 */
public class HelloLog4j {
    private  static final Logger logger = LoggerFactory.getLogger(HelloLog4j.class);

    public static void main(String[] args) {
        logger.debug("This is debug message");
        logger.info("Hello {}","SLF4J");
        logger.warn("This is warn message");
        logger.error("This is error message");
        logger.debug("hello {}","world");
        logger.debug("hello {}","world");
        logger.debug("Good Bye {}","kobe");
    }
}
